package com.ldx;




/**
 * @author lidexin
 * @create 2021-09-19 19:50
 */
public class Test1 {
    public static void main(String[] args) {
        //获取CPU的核数
        //CPU 密集型，IO密集型
        System.out.println(Runtime.getRuntime().availableProcessors());


    }
}
